import React from 'react';
import Comp1 from './index';

export default class Comp2 extends Comp1 {
  state = {
    count2: 2,
  };

  render() {
    console.log(this.state);
    return <div>div2</div>;
  }
}
